﻿using Abp.Configuration;
using Paas.Core.Const;
using System.Collections.Generic;

namespace Paas.Core
{
    public class SettingProvider : Abp.Configuration.SettingProvider
    {
        public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context)
        {
            //文件上传目录
            yield return new SettingDefinition(SettingNames.FileUploadPath, "Files");

            //文档上传目录
            yield return new SettingDefinition(SettingNames.DocumentUploadPath, "Documents");

            ////AutoCAD命令行程序路径
            //yield return new SettingDefinition(SettingNames.Systems.AutoCadConsolePath, @"C:\Program Files\Autodesk\AutoCAD 2019\accoreconsole.exe");

            ////Html转PDF命令行程序路径
            //yield return new SettingDefinition(SettingNames.Systems.HtmlToPdfToolPath, @"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe");

            //yield return null;
        }
    }
}

